home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d12 / jaz_clib.arc / SOUNDOFF.ASM < prev    next >
Assembly Source File  |  1989-04-09  |  279b  |  15 lines

  1.     assume cs:_text
  2. _text    segment public byte 'code'
  3.     public _soundoff
  4.  
  5. _soundoff  proc near
  6.  
  7.     in al,61h        ; get contents of system port b
  8.     and al,11111100b    ; turn speaker and timer off
  9.     out 61h,al        ; send out new values to port b
  10.  
  11.     ret
  12. _soundoff  endp
  13. _text    ends
  14. end
  15.